/**
 * 
 */
package conqueror.com.systemupdate.view;

import android.content.Context;
import android.support.v4.view.ViewPager;
import android.util.AttributeSet;
import android.view.MotionEvent;

/**
 * @工程名:NewDG
 * @包名:com.example.newdg.view
 * @类名:NoScrollViewPager
 * @创建者:zyj
 *
 * @描述:TODO
 *
 */
public class NoScrollViewPager extends ViewPager
{

	public NoScrollViewPager(Context context) {
		this(context, null);
	}

	public NoScrollViewPager(Context context, AttributeSet attrs) {
		super(context, attrs);
	}

	@Override
	public boolean onInterceptTouchEvent(MotionEvent ev)
	{
		// 不拦截
		return false;
	}

	@Override
	public boolean onTouchEvent(MotionEvent ev)
	{
		// 不消费
		return false;
	}
}
